/**
 * Created by hooxin on 17-7-6.
 */
Ext.define('YBB.view.center.CenterController', {
    extend: 'Ext.app.ViewController',
    alias: 'controller.center',
    requires: ['YBB.view.order.Order'],
    /**
     * Called when the view is created
     */
    init: function () {

    },
    onOrderBtnClick: function (btn, evt) {
        this.getView().add({xtype:'myorder'});
    },
    onCarBtnClick: function (btn, evt) {

    },
    onTicketBtnClick: function (btn, evt) {

    }
});